package com.tencreat.mapper.mall;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tencreat.domain.mall.MallCollect;
import com.tencreat.domain.mall.vo.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 收藏Mapper接口
 *
 * @author tencreat
 * @date 2021-08-13
 */
@Repository
public interface MallCollectMapper extends BaseMapper<MallCollect> {

    int selectIsCollect(@Param("id") Long id, @Param("user") Long user);

    List<ResMallGoodsInfoVO> goodsInfoList(@Param("uuid") Long uuid);

    List<ResMallGoodsKillVO> goodsKillList(@Param("uuid") Long uuid);

    List<ResMallGoodsCutVO> goodsCutList(@Param("uuid") Long uuid);


}
